package com.captjack.websocket.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author Capt Jack
 * @date 2018/7/24
 */
@Configuration
public class WebSocketConfiguration {

    @Bean
    ServerEndpointExporter serverEndpointExporterConf() {
        return new ServerEndpointExporter();
    }

}
